//
//  UIBarButtonItem+WYCExtesion.h
//  百思不得姐
//
//  Created by 周鑫 on 16/2/15.
//  Copyright © 2016年 WYC. All rights reserved.
//

#import <UIKit/UIKit.h>

@interface UIBarButtonItem (WYCExtesion)
+(instancetype)itemWithTitle:(NSString *)title target:(id)target action:(SEL)action;


+(instancetype)itemWithImage:(NSString *)image hight:(NSString *)hightImage target:(id)target action:(SEL)action;


+(UIBarButtonItem *)setbarButtonItemImageName:(NSString *)name target:(id)target title:(NSString *)title action:(SEL)feft;


+ (UILabel *)createLabelFrame:(CGRect)frame text:(NSString *)text textColor:(UIColor *)textColor textAlignment:(NSTextAlignment)textAlignment textFont:(UIFont *)textFont numberOfLines:(NSInteger)numberOfLines;



+ (UILabel *)createLabelFrame:(CGRect)frame text:(NSString *)text color:(UIColor *)textColor;



//创建按钮的方法

+ (UIButton *)createBtnFrame:(CGRect)frame title:(NSString *)title bgImageName:(NSString *)bgImageName target:(id)target action:(SEL)action;



//创建图片视图的方法

+ (UIImageView *)createImageViewFrame:(CGRect)frame imageName:(NSString *)imageName;
@end
